<template>
  <el-container class="layout-container-demo">
    <el-aside width="200px" style=" height: 100%; margin-left: -8px; margin-top: -8px">
     <AdminAside></AdminAside>
    </el-aside>
    <el-container  style="height: 100%">
      <el-header style="text-align: right; font-size: 12px;margin-top: -8px" >
       <AdminIndexHeader></AdminIndexHeader>
      </el-header>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import LoginAuthorityMain from "@/components/AdminLoginAuthorityMain";
import AdminIndexHeader from "@/components/AdminIndexHeader";
import AdminAside from "@/components/AdminAside";
export default {
  name: "FalseAdmin",
  components: {AdminAside, AdminIndexHeader, LoginAuthorityMain}
}
</script>

<style scoped>

.layout-container-demo .el-header {
  background-color: #2c3e50;
  color: var(--el-text-color-primary);
}
.layout-container-demo .el-aside {
  display: block;
  position: absolute;

  color: var(--el-text-color-primary);
  background: var(--el-color-primary-light-8);
}
.layout-container-demo .el-menu {
  border-right: none;
}
.layout-container-demo .el-main {
  left: 200px;
  right: 0;
  top: 60px;
  bottom: 0;
  overflow-y: scroll;
  position: absolute;
  padding: 0;
}
.layout-container-demo .toolbar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  right: 20px;
}
</style>
